//
//  ImageDropScrollView.m
//  SohoNaru
//
//  Created by PnP_WhiteMacBook on 13. 6. 7..
//  Copyright (c) 2013년 ladaka Inc. All rights reserved.
//

#import "DropImageScrollView.h"

@implementation DropImageScrollView
//@synthesize delegate;

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
    
    }
    return self;
}


/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/


- (void) awakeFromNib {
    
    self.svThumbnail = [[UIScrollView alloc] initWithFrame:self.frame];
    self.svThumbnail.backgroundColor = [UIColor clearColor];
    
    [self addSubview:self.svThumbnail];
}

- (void) addImage:(NSArray *) imgList {
    self.arrImage = (NSMutableArray *)imgList;
    self.svThumbnail.contentSize = CGSizeMake([self.arrImage count] * 64, 64);
    
    
    //버튼 설정
    
    
    
}

@end
